package com.ty.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("goods")
public class Goods extends BaseId{

  @TableField("varieties_type_id")
  private Long varietiesTypeId;
  @TableField("name")
  private String name;
  @TableField("price")
  private Long price;
  @TableField("brand_id")
  private Long brandId;
  @TableField("weight")
  private Long weight;
  @TableField("expiration")
  private Long expiration;
  @TableField("stock")
  private Long stock;
  @TableField("create_time")
  private Date createTime;
  @TableField("create_user_id")
  private Long createUserId;
  @TableField("up_time")
  private Date upTime;
  @TableField("update_time")
  private Date updateTime;
  @TableField("update_user_id")
  private Long updateUserId;
  @TableField("order_num")
  private Long orderNum;
  @TableField("reserved")
  private String reserved;
  @TableField("reserved2")
  private String reserved2;
  @TableField("reserved3")
  private String reserved3;

  public Long getVarietiesTypeId() {
    return varietiesTypeId;
  }

  public void setVarietiesTypeId(Long varietiesTypeId) {
    this.varietiesTypeId = varietiesTypeId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Long getPrice() {
    return price;
  }

  public void setPrice(Long price) {
    this.price = price;
  }

  public Long getBrandId() {
    return brandId;
  }

  public void setBrandId(Long brandId) {
    this.brandId = brandId;
  }

  public Long getWeight() {
    return weight;
  }

  public void setWeight(Long weight) {
    this.weight = weight;
  }

  public Long getExpiration() {
    return expiration;
  }

  public void setExpiration(Long expiration) {
    this.expiration = expiration;
  }

  public Long getStock() {
    return stock;
  }

  public void setStock(Long stock) {
    this.stock = stock;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Long getCreateUserId() {
    return createUserId;
  }

  public void setCreateUserId(Long createUserId) {
    this.createUserId = createUserId;
  }

  public Date getUpTime() {
    return upTime;
  }

  public void setUpTime(Date upTime) {
    this.upTime = upTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public Long getUpdateUserId() {
    return updateUserId;
  }

  public void setUpdateUserId(Long updateUserId) {
    this.updateUserId = updateUserId;
  }

  public Long getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(Long orderNum) {
    this.orderNum = orderNum;
  }

  public String getReserved() {
    return reserved;
  }

  public void setReserved(String reserved) {
    this.reserved = reserved;
  }

  public String getReserved2() {
    return reserved2;
  }

  public void setReserved2(String reserved2) {
    this.reserved2 = reserved2;
  }

  public String getReserved3() {
    return reserved3;
  }

  public void setReserved3(String reserved3) {
    this.reserved3 = reserved3;
  }
}
